package com.example.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration
@ComponentScan(
   basePackages = {"com.example"},
   excludeFilters = {
      @ComponentScan.Filter(type = FilterType.ANNOTATION,
                            value = EnableWebMvc.class)
   }
)
public class RootConfig {
}
